.ant-btn{
  padding: 4px 8px!important;
  border-radius: 4px!important;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.065),0 2px 2px 0 rgba(0,0,0,.065),0 1px 5px 1px rgba(0,0,0,.065)!important;
  font-size: 12px !important;
}
.ant-btn-link{
  box-shadow:none !important;
  font-size: 14px !important;
}
.ant-btn-text{
  box-shadow:none !important;
}
.ant-input-group-addon .ant-btn{
  border-radius:0 4px 4px 0!important;
}
.ant-btn + .ant-btn{
  margin-left: 8px;
}
.ant-btn-icon-only {
  padding: 2.4px 0!important;
  border-radius: 2px!important;

}
.ant-btn-circle {
  padding-right: 0!important;
  padding-left: 0!important;
  border-radius: 50%!important;
}
.ant-btn-icon-only.ant-btn-sm {

  padding: 0!important;
}
.ant-btn + .ant-dropdown-trigger >.ant-btn{
  margin-left: 8px;
}
.ant-dropdown-trigger + .ant-btn{
  margin-left: 8px;
}
.ant-btn-sm {
  padding: 0 7px!important;
}
.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) {
  padding-left: 29px!important;
}
.ant-switch{
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.065),0 2px 2px 0 rgba(0,0,0,.065),0 1px 5px 1px rgba(0,0,0,.065);
}
.ant-image-img {
  width: 100%;
  height: 100% !important;
}
.ant-modal-content{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 85vh;
}
.ant-modal-body{
  overflow: auto;
}
.ant-modal-footer .ant-form-item{
  margin-bottom: 0;
}
.ant-drawer-footer .ant-form-item{
  margin-bottom: 0;
}
.ant-table-filter-dropdown .ant-form-item{
  margin-bottom: 10px;
}
.light-theme {
  .ant-table-thead > tr > th{
    background: linear-gradient(0deg,#fafafa,#fff) !important;
    border-top: 1px solid rgb(237, 237, 237);
  }
}

.ant-table-bordered .ant-table-thead > tr > th{
  border-top: none;
}
.ant-pagination-item a {
  padding: 0 10px!important;
}
.ant-pagination-item-active {

  border-color: transparent!important;
}
.ant-menu-sub.ant-menu-inline{
  display: flex;
  flex-wrap: wrap;
}
.ant-menu-sub.ant-menu-inline .ant-menu-submenu{
  width: 100%;
}
.ant-menu-inline .ant-menu-item{
  width: var(--sider-menu-width) !important;
}
.full-modal {
  .ant-modal {
    max-width: 100%;
    top: 0;
    padding-bottom: 0;
    margin: 0;
  }
  .ant-modal-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
  }
  .ant-modal-body {
    flex: 1;
  }
}
.ant-card {
  border-radius: 5px !important;
}
.light-theme {
  .ant-layout {
    background: var(--layout-color);
  }
}